Mastertrust
Add and validate your Mastertrust account in AutoTrader Web.
To connect Mastertrust to AutoTrader Web, you do three things. First, generate an App ID and App Secret from the Mastertrust API Console. Second, get your TOTP key from the Mastertrust login portal. Third, add the account in AutoTrader Web under Accounts -> Trading Accounts. The Mastertrust trading APIs are free.
This guide shows how to add a Mastertrust account in AutoTrader Web. The setup has three steps, explained below.
Demo video
Step 1: Generate API Key
- Login to Mastertrust API Console with your Mastertrust account credentials
- Click the CREATE APP button
- Enter App Name: MyTradingApp
- Redirect URI:
https://webx.stocksdeveloper.in/auth/mastertrust - Click CREATE APP
- See below (Screenshot 1: Create App)
- IMPORTANT: After this you will get an App ID and App Secret. Save these in a notepad.
- See below (Screenshot 2: App Details)
Screenshot 1: Create App

Mastertrust Create App
Screenshot 2: App Details

Mastertrust App Details
Step 2: Get TOTP Key
You need the secret TOTP key that Mastertrust gives you when you enable TOTP.
- Install the Google Authenticator app on your phone
- If you have already enabled TOTP but you do not have the key, disable TOTP and re-enable it. (See Screenshot 3 – Totp reset)
- Login to https://masterswift-beta.mastertrust.co.in/
- The system will ask you to Activate Totp (See Screenshot 4 – Activate Totp)
- Scan the QR Code on your phone in Google Authenticator
- Click Unable to Scan? Copy the code
- Copy the code (TOTP Key) shown below and save it in notepad
- Enter the TOTP shown in your Google Authenticator
- Click Activate
Screenshot 3: Totp reset

Totp Reset
Screenshot 4: Activate Totp

Activate Totp
Step 3: Create a New Account
- Login to AutoTrader Web and go to the menu (Accounts -> Trading Accounts)
- Click the Create button at the top
- Select Stock Broker: Mastertrust
- Enter your Mastertrust Trading Account Login ID
- Enter your Mastertrust Trading Account Login Password
- Enter your Mastertrust TOTP Key (which we obtained in Step 2)
- Enter your App Secret (generated above) in the App Secret field
- Enter your App ID (generated above) in the User ID (API) field
- Click the Validate button
- Click Save after successful validation
- See below (Screenshot 5: Add Mastertrust account in AutoTrader Web)
That’s it. You have successfully added your Mastertrust account. Do not forget to read these known limitations.
Screenshot 5: Add Mastertrust account in AutoTrader Web

Mastertrust Create Account
Static IP Setup
The static IP setup is the same for every broker. Follow the full guide here:
→ Static IP Setup — set up a static IP or bring your own (BYOIP)
Bracket and cover orders on Mastertrust
Mastertrust offers bracket and cover orders of its own, and you can carry on using them — they are still in the Variety list and nothing about them changes. AutoTrader has its own versions too, and they are worth knowing about because they behave the same way on every broker you trade.
An AutoTrader bracket order (AT_BO) attaches a target and a stop-loss to your Mastertrust order, with an optional trailing stop that follows the price in your favour and never moves back. An AutoTrader cover order (AT_CO) is the same thing with a stop-loss only. Your entry reaches Mastertrust as an ordinary intraday order, and AutoTrader Web watches the price and sends the closing order when your level is reached. Use it when you want a trailing stop that behaves identically across brokers, when you want to change your levels after placing, or when you trade several brokers and want one set of rules.
Place one from the order window, from your own code, or from a chart alert. It is intraday only, it does not give you the extra intraday margin some brokers give on their own bracket orders, and the position is squared off automatically a short while before the market closes.
Read the risk before you use it. A stop-loss decides when we try to exit — it does not decide the price you get. A sudden move can take the price straight past your level, so your loss can be larger than the stop-loss you set. The full explanation, and the one-time terms you agree to before your first one, are on Bracket & Cover Orders.
Frequently asked questions
Does AutoTrader Web support Mastertrust?▾
Yes. Mastertrust is fully supported. You can connect one or many Mastertrust accounts and monitor live P&L, holdings and positions, place and manage orders, and copy trade across all of them from one screen, on web or mobile.
Can I copy trade with Mastertrust?▾
Yes. You can copy trade with Mastertrust in two ways — PMS copy from our terminal and master-child copy in the background — across accounts and brokers, with per-account sizing. You set up and control everything.
Can I manage multiple Mastertrust accounts together?▾
Yes. Add as many Mastertrust accounts as you like and see consolidated P&L, holdings and positions live, and trade across all of them at once.
How much does it cost to use Mastertrust with AutoTrader Web?▾
AutoTrader Web is ₹295 to ₹495 per account per month, with all taxes included, and a free 1-month trial. Your account also needs a static IP — this is required for every broker, not optional. You can buy a Premium static IP we set up for you (₹299 per month, faster and more reliable), take a Standard static IP from our pool (₹200 per month), or bring your own IP for free — all prices include tax. If Mastertrust charges separately for API access, that fee is set by the broker.
Can I place a bracket order on Mastertrust?▾
Yes, in two ways. You can use Mastertrust's own bracket and cover orders, which are unchanged, or an AutoTrader bracket order (AT_BO) or cover order (AT_CO), which behave the same way on every broker. Ours adds a trailing stop everywhere and lets you change your target and stop-loss after placing. It is intraday only and gives no extra margin, and a sudden price move can still take your exit past the level you set.
Next steps
Thanks for the feedback. Still stuck? Contact support.
Last updated 8 August 2026