From 99f98323909bf5a50cbd9698303535b53950ce09 Mon Sep 17 00:00:00 2001 From: yenru0 Date: Sat, 9 May 2026 15:49:51 +0900 Subject: [PATCH] debug frag --- bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot.py b/bot.py index 0c6e100..67ca975 100644 --- a/bot.py +++ b/bot.py @@ -86,6 +86,9 @@ def on_trade(message: dict, orderman: OrderManager, state: StateManager): price = message["price"] state.set_last_price(symbol, price) + + print("포지션 괴리율", orderman.positions["VELE"] - orderman.future_positions["VALE"], orderman.positions["VALBZ"] - orderman.future_positions["VALBZ"]) + execute_arb(orderman, state)