Refactor trading logic and enhance ClobClient integration for improved market operations

This commit is contained in:
Nawaz Haider
2026-01-01 21:59:16 +06:00
parent 73f08a0c49
commit a8a4fb2a0e
3 changed files with 93 additions and 17 deletions
+1 -1
View File
@@ -10,4 +10,4 @@ def get_period_elapsed_seconds():
def is_in_trading_window():
elapsed_seconds = get_period_elapsed_seconds()
return elapsed_seconds > MARKET_SESSION_SECONDS
return elapsed_seconds < (MARKET_SESSION_SECONDS - 5)