bugfixing
This commit is contained in:
parent
cce53995b6
commit
b7e366dcdf
@ -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
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user