We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa6496 commit 9f4045fCopy full SHA for 9f4045f
main.py
@@ -6,6 +6,9 @@
6
import triangular_arbitrage.detector as detector
7
8
if __name__ == "__main__":
9
+ if hasattr(asyncio, "WindowsSelectorEventLoopPolicy"):
10
+ asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy()) # Windows handles asynchronous event loops
11
+
12
benchmark = os_util.parse_boolean_environment_var("IS_BENCHMARKING", "False")
13
if benchmark:
14
import time
0 commit comments