Receiving request token

sourabh
Hi,
For acquiring request token , I have to manually open the URL (returned by kite.login_url()). Every time I run my python script, it requires a new request token. Is there a way to automate this?
  • Vivek
    Once you get access token you can use it untill next trading session or you manually logiut from kite. So ideally you can generate access token once in a day
  • sourabh
    sourabh edited October 2016
    I have a python script ("place_my_order.py") which places order at market price & ends. Now when I run this script again , it needs a different token. So , if I run my script 10 times, I need to manually open link 10 times to get request token. Am I missing something here?
  • Vivek
    @sourabh You just generate access_token once and use it in your program to run it multiple times.
Sign In or Register to comment.