add debg
This commit is contained in:
2
order.py
2
order.py
@@ -59,7 +59,7 @@ class OrderManager:
|
|||||||
size = kwargs["size"]
|
size = kwargs["size"]
|
||||||
if self.future_positions[kwargs["symbol"]] + size > self.POSITIONS_LIMIT[kwargs["symbol"]]:
|
if self.future_positions[kwargs["symbol"]] + size > self.POSITIONS_LIMIT[kwargs["symbol"]]:
|
||||||
return False
|
return False
|
||||||
|
print(f"주문 전송: {kwargs}")
|
||||||
self.future_positions[kwargs["symbol"]] += size
|
self.future_positions[kwargs["symbol"]] += size
|
||||||
self.exchange.send_add_message(**kwargs)
|
self.exchange.send_add_message(**kwargs)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user