Accounts and credentials

MT5 Investor Password vs Trading Password: Which Does Your App Need?

The investor password can only watch an MT5 account; the trading password can trade it. Which one your app needs, why the wrong one fails late, how to ask.

Updated 3 min readLeer en español
On this page
  1. Two passwords, two permissions
  2. Which one your app needs
  3. Why the wrong password fails late
  4. How to ask for the right one
  5. Handling a trading password responsibly
  6. Next steps

An app that places trades needs the trading password. The investor password lets software look at an account, not trade it. The trouble is that nothing fails when you connect with the wrong one — it fails at the first order.

Two passwords, two permissions

AspectInvestor passwordTrading (master) password
Log inYesYes
See balance, positions, historyYesYes
Place, modify and close tradesNoYes
Change the account's passwordsNoYes
Usual useLetting someone watch an accountTrading it, yourself or through software

MetaTrader calls the full-access password the master password. Brokers and apps often say trading password. They are the same thing. MetaQuotes' own MetaTrader 5 help puts the difference plainly: the investor password "allows connecting to the account to view its state and analyze price dynamics, but it does not allow trading."

Both come from your broker — Exness, IC Markets, Pepperstone, XM, a prop firm such as FTMO, or any other — usually in the welcome email and the client area, where you can also reset them.

Which one your app needs

  • It places or closes trades — a signal app, a copier, a trading bot, a prop-firm tool that can close positions: the trading password.
  • It only reads — a dashboard, a performance tracker: the investor password is enough, if the tool you use connects with it.

fxapis is built to trade, so it asks for the trading password.

Why the wrong password fails late

With the investor password, the broker accepts the login. The account comes online, looks healthy, and shows its positions. Then the first order is refused, because the login has no trading rights.

With fxapis, such an account reaches ready and its orders come back rejected by the broker. The fix is to replace the password on the existing account with POST /v1/accounts/{id}/password — its id and history stay — and bring it online again.

How to ask for the right one

Most failures here are a labelling problem. On your connect screen:

  • Name it. "MT5 trading password (not the investor password)" in the field label.
  • Say why. "We need it to place trades on your behalf. The investor password can only view."
  • Say what happens to it. Users are right to hesitate before handing over a password that can trade their money.
  • Check at once. Bring the account online while the user is still on the screen, and show the result.
The Connect an MT5 account form in the fxapis console, with the Trading password field selected and the note under it: use the trading (master) password; the investor password is read-only, so the account would connect but every order would be refused.
The fxapis console's own connect form: the field says trading password, and the note says what the investor password would do. (Demo workspace with made-up data.)

Handling a trading password responsibly

A trading password can move someone's money, so treat it that way:

  • The form posts to your backend, which sends it to fxapis in the same request. Your API key never goes near a browser.
  • Do not store it, log it, queue it or send it to analytics. Keep the fxapis account id instead.
  • Disconnect accounts when users leave. fxapis erases the stored password at once and keeps the trading history.

On fxapis's side, each password is encrypted on arrival with a key unique to that account, never returned by any endpoint, used only to log the account in — with every use audited — and erased on disconnect. See security.

Next steps

— Software architect and AI engineer with more than 15 years of building and scaling software systems. Designs and builds production-grade software and AI systems, and writes about how it's done.

elwizard.netGitHubInstagram

FAQ

Questions people also ask

What is the MT5 investor password?

A read-only password for a MetaTrader 5 account. It lets someone log in and see positions, history and balance, but not trade. Traders give it out to let others watch an account.

Is the master password the same as the trading password?

Yes. MetaTrader calls the full-access password the master password; brokers and apps often call it the trading password.

Can an API trade an MT5 account with the investor password?

No. The investor password does not allow trading. With fxapis the account reaches ready, because the login works, but its orders are rejected by the broker.

How does fxapis store the trading password?

It is encrypted on arrival with a key unique to that account, never returned by any endpoint, never shown in the console or written to a log, used only to log the account in, and erased when the account is disconnected.

All in this topic
Accounts and credentials

How to Find Your MT5 Broker Server Name

Where to find your MetaTrader 5 server name on desktop, mobile and in your broker's email, why demo and live differ, and the mistakes that break a login.

3 min read
> Connect. Execute. Scale.

Trade MT5 from your own code.

Connect accounts by login, password and server, and place orders over HTTPS. We run MetaTrader 5; you install nothing.