Skip to content

Commit 0004c4e

Browse files
committed
with credentials
1 parent 2962fa2 commit 0004c4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-metatrader5-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ jobs:
7373
print('MetaTrader5 version:', mt5.__version__)
7474
for i in range(10):
7575
try:
76-
if mt5.initialize(login=int(os.getenv('MT5_AT_ACC')),
77-
password=os.getenv('MT5_PW'),
78-
server=os.getenv('MT5_AT_SRV'),
76+
if mt5.initialize(login=int({{ secrets.MT5_LOGIN }}),
77+
password={{ secrets.MT5_PASSWORD }},
78+
server='MetaQuotes-Demo',
7979
path='C:\\Program Files\\MetaTrader 5\\terminal64.exe'):
8080
print('MT5 initialized successfully')
8181
print(mt5.terminal_info())

0 commit comments

Comments
 (0)