From 15200e1115f5a255b11396cedbe626a66e2a9d10 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Sat, 9 May 2026 14:16:20 +0900 Subject: [PATCH] add debug --- bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bot.py b/bot.py index 44b1f47..b6a17e6 100644 --- a/bot.py +++ b/bot.py @@ -86,6 +86,8 @@ def on_trade(message: dict, orderman: OrderManager, state: StateManager): state.set_last_price(symbol, price) # 거래도 + if symbol == "VALBZ" or symbol == "VALE": + print(f"Current prices - VALBZ: {state.get_last_price('VALBZ')}, VALE: {state.get_last_price('VALE')}") p_valbz = state.get_last_price("VALBZ") p_vale = state.get_last_price("VALE")