Algo trading with Finvasia
Connect your Finvasia account to MyAlgoMate and automate your execution — one-click orders, risk controls and fast exits, no coding required.
Connecting Finvasia
MyAlgoMate connects to Finvasia through the official Shoonya API (Finvasia's Noren order-management system). You generate an API Key and note your Vendor Code in the Shoonya API portal, enable TOTP on your Shoonya account, whitelist a static IP as Finvasia requires, and then enter your Client ID, Password, Vendor Code, API Key and TOTP key into the broker login form in MyAlgoMate.
Use Finvasia with
Your Finvasia account works with all 8 of these MyAlgoMate products — plus custom automation of your own strategy.
- Stockmock and Algotest strategy automation tool (Time Based Straddle Strangle)
- Trademate
- Copy Trading Software
- TradeBridge
- Cloud Server for Algo Trading
- RMS Tool
- ORB - Opening Range Breakout
- 5 EMA Strategy - Power of Stocks
- Custom strategy automation — your own logic, automated; you set the rules and stay in control.
Setting up Finvasia
Step 1 — Generate your API Key and note your Vendor Code
The Shoonya API is free — Finvasia does not charge a subscription for API access, so there is nothing to buy before you start. You only need an active Finvasia (Shoonya) trading account.
- Log in to the Shoonya API portal with your Finvasia (Shoonya) credentials.
- Open API Key from your profile menu and generate your API Key — copy it. This key is what MyAlgoMate uses as the API secret when it logs in for you.
- Note your Vendor Code shown in the portal — MyAlgoMate needs it alongside the API Key.
- Note your Client ID — your Shoonya user id, the one you log in to Shoonya with.
Step 2 — Enable TOTP and copy your TOTP key
Finvasia uses TOTP as the second factor. MyAlgoMate signs in for you, so it needs the TOTP secret key itself rather than a 6-digit code you type in.
- In Shoonya, open your profile and go to Security, then TOTP.
- Enable/register TOTP. When the QR code appears, save the secret key it contains — most authenticator apps show a “can't scan the code?” or manual-entry option that reveals it. This secret key is the TOTP key MyAlgoMate needs.
- Scan the QR code into your authenticator app (Google Authenticator, Authy, etc.) as well, so you can still sign in yourself.
Step 3 — Register your static IP (mandatory)
A registered static IP is required for placing orders through the API (SEBI retail algo-trading rules, in force since 1 April 2026). Finvasia only accepts API orders that originate from your registered static IP.
- Register your static IP against your Finvasia API access.
- 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.
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
- Open the broker login form in MyAlgoMate and enter your Client ID, Password, Vendor Code, API Key and TOTP key, then save.
What you need to collect
To connect Finvasia (Shoonya), the broker login form in MyAlgoMate needs five details:
- Client ID — your Shoonya user id, the one you log in to Shoonya with
- Password — your Shoonya account password
- Vendor Code — shown in the Shoonya API portal, next to your API Key
- API Key — generated in the Shoonya API portal — it acts as the API secret for login
- TOTP key — the secret key from Shoonya → Security → TOTP
One more thing is set on Finvasia's side rather than entered here: your registered static IP.
The Shoonya API is free
Finvasia does not charge for the Shoonya API — API access is free of cost, so there is no subscription to buy and nothing to renew. You only need an active Finvasia (Shoonya) trading account. (Finvasia's own brokerage charges for the trades you place are separate.)
Please check with Finvasia for latest terms.
Static IP — required by Finvasia
Since 1 April 2026, SEBI's retail algo-trading rules require a registered static IP for API order placement — Finvasia only accepts API orders that originate from your registered static IP. 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 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.
Keep your credentials private
Your Password, API Key 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.
Finvasia — questions
Do I need to pay for the Finvasia (Shoonya) API?
No. The Shoonya API is free of cost — there is no subscription for API access. You only need an active Finvasia (Shoonya) trading account. Finvasia's own brokerage charges for the trades you place are separate.
What Finvasia details does MyAlgoMate need?
Five: your Client ID, your Password, your Vendor Code, your API Key, and your TOTP key. You enter all five in the broker login form in MyAlgoMate. Separately, you must register a static IP on Finvasia's side.
Where do I get my Shoonya API Key and Vendor Code?
Log in to the Shoonya API portal and open API Key from your profile menu — generate and copy your API Key there, and note the Vendor Code shown alongside it. The API Key acts as the API secret when MyAlgoMate logs in for you.
Where do I find my Finvasia TOTP key?
In Shoonya, open your profile → Security → TOTP and enable/register it. When the QR code appears, save the secret key it contains (use your authenticator app's manual-entry option if it isn't shown as text). That secret key is what you enter in MyAlgoMate.
Do I need a static IP for Finvasia API trading?
Yes — since 1 April 2026, Finvasia only accepts API orders that originate from your registered static IP. 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.
Automate on Finvasia, the compliant way
Connect in minutes, automate without code, and stay in control — with a team that answers.

