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 18c65d1 commit e233b70Copy full SHA for e233b70
.github/workflows/test-metatrader5-integration.yml
@@ -61,17 +61,17 @@ jobs:
61
shell: pwsh
62
run: |
63
python - <<EOF
64
- import MetaTrader5 as mt5
65
- import time
+import MetaTrader5 as mt5
+import time
66
67
- print('Testing MT5 initialization...')
68
- time.sleep(5) # Extra sleep to ensure MT5 ready
+print('Testing MT5 initialization...')
+time.sleep(5) # Extra sleep to ensure MT5 ready
69
70
- if not mt5.initialize():
71
- print('Failed to initialize:', mt5.last_error())
72
- exit(1)
73
- else:
74
- print('MT5 initialized successfully')
75
- mt5.shutdown()
76
- EOF
+if not mt5.initialize():
+ print('Failed to initialize:', mt5.last_error())
+ exit(1)
+else:
+ print('MT5 initialized successfully')
+ mt5.shutdown()
+EOF
77
0 commit comments