Skip to content

Commit bec2191

Browse files
code removal
1 parent 76c3f00 commit bec2191

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Trading-Automation/trading_automation.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@
2121
import apscheduler.util
2222
from functools import lru_cache
2323
from config import API_KEY, API_SECRET, TELEGRAM_TOKEN, TELEGRAM_CHAT_ID
24-
# API_KEY = os.environ['BINANCE_KEY']
25-
# API_SECRET = os.environ['BINANCE_SECRET']
26-
# TELEGRAM_TOKEN = os.environ['TELEGRAM_TOKEN']
27-
# TELEGRAM_CHAT_ID = int(os.environ['TELEGRAM_CHAT_ID'])
2824

2925
def patched_get_localzone():
3026
return pytz.UTC
@@ -333,7 +329,6 @@ def diagnose_investment_failure(symbol="ETHUSDC"):
333329
)
334330

335331
min_notional = min_notional_for(symbol)
336-
needed_for_investment = min_notional + total_taxes_owed
337332
investable_usdc = usdc_balance - total_taxes_owed
338333

339334
print(f"4. Financial Check:")
@@ -896,7 +891,7 @@ async def telegram_handle_message(update: Update, context: ContextTypes.DEFAULT_
896891
sys.stdout = captured_output = io.StringIO()
897892

898893
try:
899-
status_info = get_trading_status()
894+
get_trading_status()
900895
debug_text = captured_output.getvalue()
901896
finally:
902897
sys.stdout = old_stdout

0 commit comments

Comments
 (0)