debug frag
This commit is contained in:
3
bot.py
3
bot.py
@@ -86,6 +86,9 @@ def on_trade(message: dict, orderman: OrderManager, state: StateManager):
|
|||||||
price = message["price"]
|
price = message["price"]
|
||||||
|
|
||||||
state.set_last_price(symbol, 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)
|
execute_arb(orderman, state)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user