add debug
This commit is contained in:
1
bot.py
1
bot.py
@@ -68,6 +68,7 @@ def on_book(message: dict, state: StateManager):
|
|||||||
|
|
||||||
bid_price = int(best_price("buy"))
|
bid_price = int(best_price("buy"))
|
||||||
ask_price = int(best_price("sell"))
|
ask_price = int(best_price("sell"))
|
||||||
|
print(message)
|
||||||
|
|
||||||
state.update_bid_ask_price(symbol, bid_price, ask_price)
|
state.update_bid_ask_price(symbol, bid_price, ask_price)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user