add debug
This commit is contained in:
2
bot.py
2
bot.py
@@ -86,6 +86,8 @@ def on_trade(message: dict, orderman: OrderManager, state: StateManager):
|
|||||||
state.set_last_price(symbol, price)
|
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_valbz = state.get_last_price("VALBZ")
|
||||||
p_vale = state.get_last_price("VALE")
|
p_vale = state.get_last_price("VALE")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user