Groww
Groww is currently the #1 stockbroker in India by active clients, offering a seamless digital investing experience to millions of retail investors. With its recent launch of trading APIs, Groww has opened the door for developers and fintech platforms to integrate custom trading workflows. In the context of OpenAlgo integration, Groww’s trading APIs provide capabilities for automated order placement, real-time market data access, and custom strategy execution for retail traders.
How to Get Groww API Key and Secret?

To integrate OpenAlgo with Groww, follow the steps below to generate your API key (access token):
Visit the Groww Trade API Portal and click on Getting Started.
Login using your Groww account credentials.
Click the Generate API Token button to create APIKey and APISecret

Click on the Generate API Keys button and Select API Key and Secret an Enter the Token Name as "OpenAlgo" or any name of your choice and press Generate API Key button

Copy the generated Grow API Key and API Secret

Important Points
Do not share your access token with untrusted third-party platforms or individuals.
Configuration:
Here is how you would typically set up your environment variables in a .env file for Groww's API:
BROKER_API_KEY = 'your_groww_apikey_here'
BROKER_API_SECRET = 'your_groww_apisecret_here'
REDIRECT_URL = 'http://127.0.0.1:5000/groww/callback'
Integrating OpenAlgo with Groww's trading API allows retail traders to leverage India’s most popular stockbroking platform for building and deploying their own algorithmic trading strategies. It’s a powerful combination for automating trading decisions while using a broker trusted by millions. As with any integration, be sure to handle token management carefully, log errors effectively, and build retry mechanisms to handle token expiry and downtime.
Last updated