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