Update PLACE_OPPOSITE_ORDER setting and increase sleep duration in main loop

This commit is contained in:
Nawaz Haider
2026-01-02 15:25:42 +06:00
parent e80f4ba8c9
commit a2e6ba939f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -10,4 +10,4 @@ TRADING_BPS_THRESHOLD = 50
MARKET_SESSION_SECONDS = 900 MARKET_SESSION_SECONDS = 900
TIMEZONE = "US/Eastern" TIMEZONE = "US/Eastern"
MAX_TRADES = 1 MAX_TRADES = 1
PLACE_OPPOSITE_ORDER = True # Hedge orders PLACE_OPPOSITE_ORDER = False # Hedge orders
+1 -1
View File
@@ -109,7 +109,7 @@ async def main():
f"Placed DOWN anchor and hedge orders. Total trades: {trades}" f"Placed DOWN anchor and hedge orders. Total trades: {trades}"
) )
await asyncio.sleep(1) await asyncio.sleep(2)
if __name__ == "__main__": if __name__ == "__main__":