LossGuardian guide
Connect your broker to LossGuardian
LossGuardian works with six brokers: Zerodha, Fyers, Dhan, Upstox, Groww and Angel One. Zerodha, Fyers and Dhan connect in a few clicks, through the broker’s official integration. Upstox, Groww and Angel One need an API key from your own broker account first. This page walks through each one.
What connecting does, and what it does not
Connecting lets LossGuardian read your positions, orders and P&L, so it can warn you when you cross a limit you set. That is all it reads for.
LossGuardian never places, changes or cancels an order. Where you log in, you do it on the broker’s own screen, so LossGuardian never sees or stores your broker password. Where you paste an API key, it stays on your computer, in its secure keychain.
Before you start, install LossGuardian on Windows and sign in. Then open the broker list and pick your broker.
Connect Zerodha
- 1
In LossGuardian, pick Zerodha from the broker list.
- 2
Press Authenticate with Zerodha.
- 3
Log in on Zerodha’s own screen. Your password goes to Zerodha, not to LossGuardian.
- 4
Back in LossGuardian, Zerodha shows as connected.
Zerodha connects through its official Kite Connect API. You do not need to create anything on the Zerodha side.
Connect Fyers
- 1
In LossGuardian, pick Fyers from the broker list.
- 2
Press Authenticate with Fyers.
- 3
Log in on Fyers’ own screen.
- 4
Back in LossGuardian, Fyers shows as connected.
Fyers connects through the official FYERS API. No key to create.
Connect Dhan
- 1
In LossGuardian, pick Dhan from the broker list.
- 2
Press Authenticate with Dhan.
- 3
Log in on Dhan’s own screen.
- 4
Back in LossGuardian, Dhan shows as connected.
Dhan connects through the official DhanHQ API. No key to create.
Connect Upstox
- 1
In LossGuardian, pick Upstox from the broker list.
- 2
Open the Upstox developer console from the link in the setup box and create an app.
- 3
Set the app’s redirect URL to exactly the address LossGuardian shows in the setup box. There is a copy button next to it.
- 4
Paste the app’s key and secret into LossGuardian.
- 5
Press the sign in button and log in on Upstox’s own screen.
Upstox connects with an app you create yourself in your own Upstox account, so the key is yours and you can cancel it any time.
The secret is kept in your computer’s secure keychain. If you ever create a new app, reset the saved details in LossGuardian and enter the new ones.
LossGuardian for UpstoxConnect Groww
- 1
In LossGuardian, pick Groww from the broker list.
- 2
Open the Groww trading APIs link from the setup box and create an API key.
- 3
Choose TOTP or API key and secret, to match what you created.
- 4
Paste the details into LossGuardian and press Connect Groww.
Groww connects with an API key from your own Groww account. LossGuardian supports two ways: TOTP, which is the recommended one, or an API key with a secret.
Connect Angel One
- 1
In LossGuardian, pick Angel One from the broker list.
- 2
Open Angel One SmartAPI from the link in the setup box and create an app. Copy its API key. Any HTTPS redirect URL works, because it is never used.
- 3
Turn on TOTP, and copy the secret from the QR setup screen.
- 4
Enter the API key, client code, PIN and TOTP secret in LossGuardian, then press Connect Angel One.
Angel One connects with a SmartAPI app you create in your own Angel One account. You will paste four things: the API key, your client code, your 4-digit trading PIN and your TOTP secret.
A static IP is only needed to place orders, and LossGuardian never places one, so you can skip it. Angel One has no Kill Switch of its own. Advanced Mode is the stop for the day instead, and it covers trading on your computer, not the phone app.
LossGuardian for Angel OneAfter you connect
Open Guardian Control and check that Guardian is on and the data is coming in. Then set your limits in Risk Manager.
On Zerodha, Fyers, Dhan, Upstox and Groww, Risk Manager can also be set to switch on your broker’s own Kill Switch for you, with your consent. It is optional and off until you turn it on.
Questions
Does LossGuardian see my broker password?
No. For Zerodha, Fyers, Dhan and Upstox you log in on the broker’s own screen. For Groww and Angel One you paste details from your own broker account, and they stay on your computer, in its secure keychain.
Which brokers need my own API key?
Upstox, Groww and Angel One. Zerodha, Fyers and Dhan connect through their official integrations, so you only log in.
Can LossGuardian place or close trades once it is connected?
No. It never places, changes or cancels an order. It reads your positions and warns you. Closing a trade is always your own action in your broker.
Can I switch to a different broker later?
Yes. Pick the other broker from the list and connect it the same way.
