From 30e63c9fc809526810d15fc33fdd093fadc03ae9 Mon Sep 17 00:00:00 2001 From: perror_MacBookPro Date: Sat, 9 May 2026 16:27:09 +0900 Subject: [PATCH] sad --- bot split/bot split.py | 4 ++-- bot split/order.py | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bot split/bot split.py b/bot split/bot split.py index 7af1077..be4cc2c 100644 --- a/bot split/bot split.py +++ b/bot split/bot split.py @@ -35,8 +35,8 @@ def main(): print("First message from exchange:", hello_message) # - man.orderMan.sell("BOND", 1010, 99) - man.orderMan.buy("BOND", 990, 99) + man.orderMan.sell("BOND", 1002, 99) + man.orderMan.buy("BOND", 998, 99) last_print_time = time.time() diff --git a/bot split/order.py b/bot split/order.py index 14b2bb3..e88a309 100644 --- a/bot split/order.py +++ b/bot split/order.py @@ -23,10 +23,10 @@ class OrderManager: """ now = time.time() - if len(self._send_timestamps) == 500: - elapsed = now - self._send_timestamps[0] - if elapsed < 1.01: - return False + # if len(self._send_timestamps) == 500: + # elapsed = now - self._send_timestamps[0] + # if elapsed < 1.01: + # return False # 전송 조건 통과 시 실제 통신 수행 if action_type == "add":