The Logic: Trade Frequency: The bot will place one trade per day, specifically based on end-of-day (EOD) conditions. Entry Conditions: Buy Signal: If today’s close is higher than the previous day’s close, and the price is above the 50-period simple moving average (SMA). Sell Signal: If today’s close is lower than the previous day’s close, or the price falls below the 50-period simple moving average (SMA). Risk Management: Stop-Loss: i will Set a stop-loss at 2% below the entry price. Take-Profit: i will Set a take-profit at 3% above the entry price. Additional Features: The bot should run at the end of the day, around 4:00 PM EST (for U.S. stock markets), to evaluate whether to execute a trade based on the conditions above. Backtesting: The bot should be back tested on historical data to evaluate its performance. Optimization: The strategy should be optimized for better performance and adjusted based on the results of backtesting. The bot will be built with flexibility, allowing for easy future adjustments, such as changes to indicators, timeframes, or trade management parameters. I would also like the bot will include logging for each trade, showing the entry and exit points, along with any relevant performance metrics. how do you see the logic