add debug

This commit is contained in:
2026-05-09 14:16:20 +09:00
parent 5a931485f1
commit 15200e1115

2
bot.py
View File

@@ -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")