From b7e366dcdfd4b05ed843bc8e7613ae622493f91d Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Tue, 25 Feb 2025 11:57:53 +0100 Subject: [PATCH] bugfixing --- app/cron_reddit_bot.py | 4 ++-- app/cron_revenue.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/cron_reddit_bot.py b/app/cron_reddit_bot.py index 0f3c8f0..0fbc036 100644 --- a/app/cron_reddit_bot.py +++ b/app/cron_reddit_bot.py @@ -115,7 +115,7 @@ def format_upcoming_earnings_data(earnings_data): ) formatted_items.append(entry) - support_message = "\nIf you don’t want Stocknear to go bankrupt, it would be awesome if you could [support me](https://stocknear.com/pricing)! πŸ™Œ" + support_message = "\nInvest in yourself and embrace data-driven decisions to minimize losses, identify opportunities and achieve consistent growth with [Stocknear](https://stocknear.com/pricing) πŸš€" return "".join(formatted_items) + support_message @@ -166,7 +166,7 @@ def format_recent_earnings_data(earnings_data): formatted_items.append(entry) - support_message = "\nIf you don’t want Stocknear to go bankrupt, it would be awesome if you could [support me](https://stocknear.com/pricing)! πŸ™Œ" + support_message = "\nInvest in yourself and embrace data-driven decisions to minimize losses, identify opportunities and achieve consistent growth with [Stocknear](https://stocknear.com/pricing) πŸš€" return "".join(formatted_items) + support_message diff --git a/app/cron_revenue.py b/app/cron_revenue.py index bab6516..c10d105 100644 --- a/app/cron_revenue.py +++ b/app/cron_revenue.py @@ -69,7 +69,7 @@ async def get_data(symbol): ] stats = await get_statistics(symbol) - + print(stats) res_dict = {**stats, 'annual': annual_data, 'quarter': quarter_data} if annual_data and quarter_data: @@ -84,7 +84,7 @@ async def run(): con.close() #Testing mode - #total_symbols = ['PLTR'] + total_symbols = ['AAPL'] for symbol in tqdm(total_symbols): try: await get_data(symbol)