i have noticed that if i generate the request token more than 5 minutes before the start of the trading and use it in my app, i am not able to get the historical data. Kindly tell me how much before i have to enter the request token.
@anupama The request token is used just to generate an access token. And request token expires immediately after that. And it cannot be reused. Access token is valid for the whole day. So, immediately generate access_token from request token and used that for all further subsequent requests throughout the day.
The request token is used just to generate an access token. And request token expires immediately after that. And it cannot be reused. Access token is valid for the whole day. So, immediately generate access_token from request token and used that for all further subsequent requests throughout the day.