Background Image

Configure-Zerodha

To alllow auto algo trading on Zerodha, you will have to follow the following steps to configure Zerodha and Tradetron to talk to each other. 


1) Make a account / Login to Zerodha Developer 




2) Link your Kite account / add funds from credit card to fund 2000 credits in your Zerodha developer account. (This is the monthly fee charged by Zerodha for algo trading API) 



3) Create a new app to allow connection between Zerodha and Tradetron. Click on "Create new app". 




Use the following for the settings . You will get to see your tradetron userid in your Account Profile page. 


Redirect URL : https://zerodha.tradetron.tech/login.php?user={your_tradetron_userid} 

Postback URL : https://zerodha.tradetron.tech/status-update.php?user={your_tradetron_userid} 

Status : Active

Description : Tradetron App

Zerodha Client Id : {your zeodha client id} 


Once you create the app, you need 2 pieces of information from here to save on Tradetron. The API key and the API secret as shown below 



4) The API key and secret key provided by Zerodha has to be pasted on the Brokers & Exchanges settings on Tradetron. If you havent yet configured Zerodha, Click on "Add Broker", select NSE, NFO, CDS, MCX and paste the API key, and Secret key as provided by Zerodha. Enter a blank space for Token and click on save. 




5) Although fully configured, Zerodha works with a token which is valid only for 24 hours and this token is re-generated by Zerodha on a everyday basis and it expects you to login everyday for your protection. To login to zerodha you can click on the following link


https://kite.trade/connect/login?v=3&api_key={your api key here} 


For the first time only, Zerodha will ask you to Authorize the app which you have created. Please click on "Authorize" to proceed. This step is very important or else the daily tokens will not be generated. 


Once you have logged in on the above link, it will redirect you to a "Success" page on Tradetron. If you get that, it means you are good to go and your strategy will be automatically deployed in your Zerodha account. 


For any questions or help in configuring the above, contact us at support@tradetron.tech