Supports MT5 and forex trading.

Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
This commit is contained in:
TIANHE
2026-01-13 04:04:14 +08:00
parent e095f9be7e
commit a3a4f75bb6
@@ -2772,7 +2772,7 @@ export default {
const server = values.mt5_server || '' const server = values.mt5_server || ''
const login = values.mt5_login || '' const login = values.mt5_login || ''
const password = values.mt5_password || '' const password = values.mt5_password || ''
const terminal_path = values.mt5_terminal_path || '' const terminalPath = values.mt5_terminal_path || ''
if (!server || !login || !password) { if (!server || !login || !password) {
this.testResult = { this.testResult = {
@@ -2790,7 +2790,7 @@ export default {
server: server, server: server,
login: parseInt(login), login: parseInt(login),
password: password, password: password,
terminal_path: terminal_path terminal_path: terminalPath
}) })
if (res.data && res.data.success) { if (res.data && res.data.success) {