Thanks for all your support. I just embedded all the codes into a single html and trading with the mobile browser since the app version for the same codes does not work during market hours. Again, great support provided, thanks!!!
I am attaching all the codes(both the web version and the apk) for you to verify the codes and reproduce the behaviour. This works perfectly during non market hours but not during market hours. Please let me know your findings.
Please input ba…
Everything is being passed as suggested. Main question is how it works during non market hours correctly. Could you please advise what is the main validation/logic difference at kite side during and after market hours which will resolve the original…
I am able to see the place order button during market hours but clicking the place order and finish buttons does not bring the order to kite. Should i add double quotes to the symbol. Even if that is the case it is working perfectly during non marke…
This is one example of an order getting submitted after market hours and getting rejected as expected. Same submission does not come to kite during market hours. Please advise.
Here is the main js code.
KiteConnect.ready(function() {
var kite = new KiteConnect("xxxx");
var cestrike = $("#cestrike").val();
var pestrike = $("#pestrike").val();
cestrike = Number(cestrike);
pestrike = Number(pestrike);
var cesymbol …
@vivek @sujith It is understood that multiple users could be added to access the API key and secret if setup(please explain this process as well). If that is the case, will it be still 3 requests per second for API calls or is it per user/access tok…
Thanks @vivek @sujith . I am able to retrieve access token now. Understanding is that it will never be retrieved from client side js even with jsonp. So tried using server side php call from js and it worked fine.
@vivek Below is the latest code used which is going into the error flow. Please advise.
$.ajax({
url: 'https://api.kite.trade/session/token',
dataType: 'json',
type: 'POST',
contentType: 'application/js…
@vivek I understand we cannot access the url this way. But are those keys correct? If so I will try post method with other parameters in setheader. Please share an Ajax syntax for post method if possible. Thanks for your help.
Thanks, trying with the localhost and getting route not found errors while posting the below code, please advise. Note that jsonp datatype is used to prevent cross domain access issues. The url is also not working when directly accessed. And for con…