some change in p_

This commit is contained in:
2026-05-09 14:06:47 +09:00
parent d31c04c1ff
commit 8db85d0c0e

6
bot.py
View File

@@ -87,10 +87,10 @@ def on_trade(message: dict, orderman: OrderManager, state: StateManager):
state.set_last_price(symbol, price) state.set_last_price(symbol, price)
# 거래도 # 거래도
p_valbz = state.get_fair_value("VALBZ") p_valbz = state.get_last_price("VALBZ")
p_vale = state.get_fair_value("VALE") p_vale = state.get_last_price("VALE")
if state.get_last_price("VALBZ") is None or state.get_last_price("VALE") is None: if p_vale is None or p_valbz is None:
return return
FEE = 10 FEE = 10