Kotak Securities is an Indian Stock Broker operating on the all major Indian stock exchanges (NSE, BSE and MCX). GoCharting leverages Kotak Trading APIs to create a connection and enable live trading off GoCharting charts on NSE
To connect GoCharting to Kotak securities broker, you will need API Keys from the Kotak API Dashboard.
Its a one time setup effort and so lets go step-by-step.
Click on GENERATE ACCESS TOKEN button-
Enter Validity as -2 and click on Generate.
Updated access token will appear. You can close this pop-up as Access Token will be updated in the webpage as well.
Now agree to the Terms & Conditions and finally click on the Connect button.
Here is the link
Once you have registered for Neo TradeAPI, you will receive an email from email@example.com This will contain a Portal URL to access APIs and its Username and Password.
The WSO2 API Manager Link : https://napi.kotaksecurities.com/devportal/apis
Login to this site using the username and password shared on your registered email id
You can access your unique consumer key and consumer secrete under Application > defaultApplication
STEP I : Go to Applications
STEP II : Go To defultApplication
AccessToken is the parameter which you need to pass under headers as Authorization
To generate access token go to defaultApplication, below your consumer key filed
Generate Access Token Button is available. You can get the token directly from there or you can use the CURL Command which is available beside the generate access token button to generate your token.
To set expiry of access token, go to Key Configuration as shown in below image Insert Long value in below mentioned fields eg: 36000000000000
Powered by BetterDocs