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 fc86553 commit 9dcc653Copy full SHA for 9dcc653
.github/workflows/test-metatrader5-integration.yml
@@ -68,17 +68,5 @@ jobs:
68
- name: Run Python inline script
69
shell: pwsh
70
run: |
71
- python -c "import MetaTrader5 as mt5; import time; import sys; print('Testing MT5 initialization...'); success = False; \
72
-for attempt in range(12): \
73
- if mt5.initialize(): \
74
- print('MT5 initialized successfully'); \
75
- mt5.shutdown(); \
76
- success = True; \
77
- break; \
78
- else: \
79
- print(f'Attempt {attempt+1}: Not ready yet, sleeping...'); \
80
- time.sleep(5); \
81
-if not success: \
82
- print('Failed to initialize MT5 after waiting.'); \
83
- sys.exit(1)"
+ python -c "import MetaTrader5 as mt5; import time; import sys; print('Testing MT5 initialization...'); success = False;"
84
0 commit comments