Broker login for live data
What it is for
The chart shows the market as it trades. To build the live footprint, the liquidity map and the other data you see on the chart, TradingMarble needs real-time market data, and your broker is the source. You log in once a day with your broker account, and the live data flows to your chart.
Logging in does not place orders. TradingMarble has no order buttons on the chart and never sends an order to your broker. The login only lets us receive market data for your account.
What we do with your login
- Your PIN, password, TOTP and access token go straight to your broker to log you in. They are not stored on our server.
- If you tick Remember, the details needed to log in again tomorrow are kept in your own browser only. A token-based login has nothing to repeat, so only a PIN + TOTP login can be remembered.
- On a shared computer, use Log out and forget this device. It clears the saved details from that browser.
Before you start
- Have an active account with one of the brokers below, with its market data and F&O segment enabled.
- Set up what that broker needs (an API app, TOTP, or a daily token). The steps are listed per broker below.
- Open the chart at app.tradingmarble.com, click Broker at the top, pick your broker, and fill in the fields.
How the daily login works
Some brokers give a token that lasts one day, so you log in again each morning. Others accept your PIN plus a TOTP code, which lasts many days. With a TOTP secret and Remember, the chart logs you in by itself every day after that. Use the TOTP secret only if you are comfortable saving it in your own browser.
Dhan
Where to get it: web.dhan.co, then My Profile → DhanHQ Trading APIs.
- Easiest (PIN + TOTP, lasts many days): enter your Dhan client ID, your Dhan PIN, and the TOTP. Switch on TOTP first in Dhan under Profile → Security. Enter the 6-digit code, or the TOTP secret to log in by itself every day.
- Access token (24 hours): click Generate under DhanHQ Trading APIs and paste the token with your client ID.
Angel One
Where to get it: smartapi.angelone.in. Create a free app to get your SmartAPI key. Turn on TOTP at smartapi.angelone.in/enable-totp.
- PIN + TOTP (lasts many days): SmartAPI key, Angel One client ID, MPIN, and TOTP (the code or the secret).
Upstox
Where to get it: account.upstox.com/developer/apps. Create an app, then generate the day's access token.
- Access token (1 day): paste the day's access token. You do this once each morning.
Zerodha
Where to get it: developers.kite.trade, your Kite Connect app.
- API key + access token (1 day): your Kite API key and the day's access token. Log in to Kite Connect each morning to get the token.
Kotak Neo
Where to get it: the Neo app, Invest → Trade API. Create an app to get your consumer key. Switch on TOTP in Neo.
- MPIN + TOTP (lasts many days): consumer key, mobile number, UCC (client code), MPIN, and TOTP.
5paisa
Where to get it: xstream.5paisa.com. Create an app to get the user key, encryption key and app user ID. Switch on TOTP in 5paisa.
- PIN + TOTP (lasts many days): user key, encryption key, app user ID, client code, PIN, and TOTP.
Shoonya
Where to get it: prism.shoonya.com. Get your API key and vendor code there. Switch on TOTP under Profile → Security.
- Password + TOTP (lasts many days): user ID, password, vendor code, API key, and TOTP.
Flattrade
Where to get it: wall.flattrade.in, Pi, for the API key. Log in there to get the day's API token.
- API token (1 day): client ID and the day's API token.
Alice Blue
Where to get it: ANT web, Apps → API key. Log in to ANT web first each morning.
- User ID + API key (1 day): your user ID and API key.
Fyers
Where to get it: myapi.fyers.in. Create an app to get the app ID, and generate the day's access token there.
- App ID + access token (1 day): the app ID (it looks like ABCD1234-100) and the day's access token.
If the login fails
- Wrong PIN, password or TOTP: check each one again. A TOTP code changes every 30 seconds, so enter a fresh one.
- Token expired: a token is valid for one day. Generate a new one from the broker's site and paste it.
- Too many tries: you can try up to 10 times in 10 minutes. Wait, then try again.
- Still stuck: write to support@tradingmarble.com with the broker's name and the message you see. Never send your PIN, password or TOTP secret by email.