Socketrade

Broker guide · checked 29 November 2026

MT5 API for Trade245

Trade245 accounts connect like any other MT5 account. The two differences that matter for an API are the .mic symbol suffix on micro contracts and the account currency, which can be ZAR. Get either wrong and the numbers look correct while they are not.

Server names

Use the exact name MetaTrader shows. A wrong server is the most common connection failure.

Trade245Global-LiveLive accounts.
Demo serverUse the exact name on the demo account card; the demo server differs from the live one.

Symbols and contract sizes

The same name does not always mean the same size. Check the contract before you set a lot.

XAUUSD.micMicro gold. The .mic suffix is a smaller contract than the plain XAUUSD; confirm the contract size in the account's symbol parameters.
XAGUSD.micMicro silver. Same rule: .mic is not the full-size contract.
Other symbolsUse the broker's own names. Open the account in the dashboard to see the full symbol list before hard-coding one.

Connect it

One call adds the account. Wait for ready before sending an order.

curl -X POST https://api.socketrade.com/v2/accounts \
  -H "X-API-Key: $SOCKETRADE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "accountNumber": "987840189",
    "accountPassword": "your-password",
    "accountServerHost": "Trade245Global-Live",
    "name": "Trade245 live"
  }'

What to watch

  • A Trade245 account can be denominated in ZAR. Never add a ZAR balance to a USD balance; show one figure per currency.
  • The .mic suffix means a micro contract. A lot size copied from a full-size symbol will be the wrong size.
  • Use the exact server name. A wrong one returns an invalid-account error, not a generic failure.
  • Some symbol names differ from other brokers. Read the account's symbol list rather than assuming EURUSD or XAUUSD is spelled the same way.

Sources