Supports MT5 and forex trading.

Signed-off-by: TIANHE <TIANHE@GMAIL.COM>
This commit is contained in:
TIANHE
2026-01-13 04:01:42 +08:00
parent 7527d73f25
commit e095f9be7e
21 changed files with 2717 additions and 51 deletions
+21
View File
@@ -1334,6 +1334,8 @@ const locale = {
'trading-assistant.placeholders.selectBroker': 'Select broker',
'trading-assistant.brokerNames': {
'ibkr': 'Interactive Brokers (IBKR)',
'mt5': 'MetaTrader 5 (MT5)',
'mt4': 'MetaTrader 4 (MT4)',
'futu': 'Futu Securities',
'tiger': 'Tiger Brokers',
'td': 'TD Ameritrade',
@@ -1348,6 +1350,25 @@ const locale = {
'trading-assistant.placeholders.ibkrAccount': 'Optional, e.g. U1234567',
'trading-assistant.exchange.ibkrConnectionSuccess': 'IBKR connected successfully',
'trading-assistant.exchange.ibkrConnectionFailed': 'IBKR connection failed. Please check if TWS/Gateway is running.',
// MT5/Forex configuration
'trading-assistant.form.forexBroker': 'Forex Broker',
'trading-assistant.form.mt5ConnectionTitle': 'MetaTrader 5 Connection',
'trading-assistant.form.mt5ConnectionHint': 'Make sure MT5 terminal is running and logged in (Windows only)',
'trading-assistant.form.mt5Server': 'Server',
'trading-assistant.form.mt5ServerHint': 'Broker server name (e.g., ICMarkets-Demo)',
'trading-assistant.form.mt5Login': 'Account Number',
'trading-assistant.form.mt5Password': 'Password',
'trading-assistant.form.mt5TerminalPath': 'MT5 Terminal Path (Optional)',
'trading-assistant.form.mt5TerminalPathHint': 'If MT5 terminal is not installed in the default location, specify the full path to terminal64.exe (e.g., C:\\Program Files\\MetaTrader 5\\terminal64.exe)',
'trading-assistant.placeholders.mt5Server': 'e.g., ICMarkets-Demo',
'trading-assistant.placeholders.mt5Login': 'e.g., 12345678',
'trading-assistant.placeholders.mt5Password': 'Your MT5 password',
'trading-assistant.placeholders.mt5TerminalPath': 'e.g., C:\\Program Files\\MetaTrader 5\\terminal64.exe',
'trading-assistant.validation.mt5ServerRequired': 'Please enter MT5 server',
'trading-assistant.validation.mt5LoginRequired': 'Please enter MT5 account number',
'trading-assistant.validation.mt5PasswordRequired': 'Please enter MT5 password',
'trading-assistant.exchange.mt5ConnectionSuccess': 'MT5 connected successfully',
'trading-assistant.exchange.mt5ConnectionFailed': 'MT5 connection failed. Please check if terminal is running.',
'trading-assistant.form.notifyChannels': 'Notification Channels',
'trading-assistant.form.notifyChannelsHint': 'Choose how you want to receive buy/sell and risk-management signals.',
'trading-assistant.notify.browser': 'Browser',