MyAlgoMate
// BROKER · ANGEL BROKING

Algo trading with Angel Broking

Supported

Connect your Angel Broking account to MyAlgoMate and automate your execution — one-click orders, risk controls and fast exits, no coding required.

// HOW WE CONNECT

Connecting Angel Broking

MyAlgoMate connects to Angel One (previously Angel Broking) through Angel One's official SmartAPI. You create your own SmartAPI app, enable TOTP on your Angel One account, whitelist a static IP as Angel One requires, and then enter your API Key, Client Code, MPIN and TOTP key into the broker login form in MyAlgoMate.

// WHAT YOU CAN AUTOMATE

Use Angel Broking with

Your Angel Broking account works with all 7 of these MyAlgoMate products — plus custom automation of your own strategy.

// SETUP

Setting up Angel Broking

Step 1 — Sign up for SmartAPI and create your app

SmartAPI is free — Angel One does not charge a subscription or fee for API access, so there is no plan to buy before you start. You only need an active Angel One trading account.
  1. Go to smartapi.angelone.in and click Signup, then register with your details. You do not need to enter your Angel One Client ID at this step.
  2. Once you are registered, choose Create an App and select the Trading APIs type — this is the app that lets MyAlgoMate place orders. (Market Feed API is a separate app type, used for live market data.)
  3. Fill in the app details:
    • App Name — e.g. MyAlgoMate
    • Redirect URL — set it to https://www.myalgomate.com/
    • Postback URL — optional, you can leave it blank
    • Angel Client ID — optional; enter your Angel One client id or leave it blank
  4. Click Create App. Your API Key is then shown on your SmartAPI dashboard — copy it.

Step 2 — Enable TOTP and copy your TOTP key

  1. Go to smartapi.angelone.in/enable-totp.
  2. Enter your Angel One Client ID and your trading password or PIN.
  3. Enter the OTP sent to your registered email and mobile number.
  4. A QR code appears. Save the secret key shown with it — this is the TOTP key MyAlgoMate needs. Also scan the QR code into an authenticator app (Google Authenticator, Authy, etc.), which then generates a fresh 6-digit code every 30 seconds.

Step 3 — Register your static IP (mandatory)

Angel One requires a registered static IP for placing orders through the API (SEBI retail algo-trading rules, in force since 1 April 2026). API order execution is only accepted if it originates from your registered primary static IP.

  1. Add your primary static IP against your SmartAPI app. You can also add a secondary static IP for connectivity redundancy.
  2. Which IP to use: if you run MyAlgoMate on your own machine, use your ISP's static IP; if you run it on a cloud machine, use that cloud server's static IP.
  3. ⚠️ You can update your mapped static IP no more than once per calendar week — double-check it before you save.

No static IP or cloud machine yet? Our Cloud Server for Algo Trading is a cloud machine specialised for algo trading, and it comes with its own static IP you can whitelist.

Step 4 — Enter the details in MyAlgoMate

  1. Open the broker login form in MyAlgoMate and enter your API Key, Client Code, MPIN and TOTP key, then save.

What you need to collect

To connect Angel One, the broker login form in MyAlgoMate needs four details:

  • API Key — from your SmartAPI app
  • Client Code — your Angel One client id, the one you log in to Angel One with
  • MPIN — your Angel One trading PIN
  • TOTP key — the secret key from SmartAPI → Enable TOTP

One more thing is set on Angel One's side rather than entered here: you must whitelist a static IP against your SmartAPI app.

SmartAPI is free

Angel One does not charge for SmartAPI — API access is free of cost, so there is no subscription to buy and nothing to renew. You only need an active Angel One trading account. (Angel One's own brokerage charges for your trades are separate and unchanged.)

Static IP — required by Angel One

Since 1 April 2026, SEBI's retail algo-trading rules require a registered static IP for API order placement — Angel One only accepts API orders that originate from your registered primary static IP. You may also register a secondary static IP for connectivity redundancy, and you can update a mapped IP no more than once per calendar week. Use your ISP's static IP if you run MyAlgoMate locally, or your cloud machine's static IP if you run it on a server.

If you don't have a static IP, our Cloud Server for Algo Trading is a cloud machine built for algo trading and includes a static IP you can whitelist.

Redirect URL

When you create the app, set the Redirect URL to https://www.myalgomate.com/

Keep your keys private

Your API Key, MPIN and TOTP key are the keys to your own trading account — never share them with anyone. MyAlgoMate provides the automation technology; you set the rules and stay in control of your own trades.

// FAQ

Angel Broking — questions

Do I need a paid subscription to use Angel One's API?

No. Angel One's SmartAPI is free of cost — there is no subscription fee for API access. You only need an active Angel One trading account.

What Angel One details does MyAlgoMate need?

Four: your SmartAPI app's API Key, your Angel One Client Code, your MPIN, and your TOTP key. You enter all four in the broker login form in MyAlgoMate. Separately, you must whitelist a static IP on Angel One's side.

Which SmartAPI app type should I create?

Create a Trading APIs app — that is the one that lets MyAlgoMate place orders. Market Feed API is a separate app type, used for live market data.

Do I need a static IP for Angel One API trading?

Yes — since 1 April 2026, Angel One only accepts API orders that originate from your registered primary static IP. You can add a secondary static IP for redundancy, and update a mapped IP no more than once per calendar week. Use your ISP's static IP if you run MyAlgoMate on your own machine, or your cloud machine's static IP if you run it on a server. If you don't have one, our Cloud Server for Algo Trading includes a static IP.

What Redirect URL should I set in my SmartAPI app?

Set it to https://www.myalgomate.com/

Where do I find my Angel One TOTP key?

Go to smartapi.angelone.in/enable-totp, enter your Angel One Client ID and your trading password or PIN, then the OTP sent to your registered email and mobile. A QR code appears — save the secret key shown with it. That key is what you enter in MyAlgoMate; you can scan the QR into an authenticator app as well.

Automate on Angel Broking, the compliant way

Connect in minutes, automate without code, and stay in control — with a team that answers.