in my opinion,rather than polling the order-status every n seconds a better approach would be setup a Web-hook and only fetch the order book when there is a event published in the web-hook,
or check for any string message in the web-socket stream an…
you need to pass the api key of the publisher app that you create.
Just to make it clear again creating a publisher app and using its api key is free.
you will only be charged if you create a kite connect app and use its api key
you can find info a…
@arsh8singhs what @sujith meant was trying to open the url from another device outside of your network (may me on a mobile device with 3g connection) because the web address is not reachable from outside world now.
even i tried and there was no res…
@noor i guess the reason @sujith asked about PI is because the Token is invalidated when you login to PI.
More information is needed here as to where are you storing you Token and how are you passing it to your code.
Without which its really diffic…
historical candles are available on all time frames as displayed on kite web platform.
yes you need base subscription for placing orders .
You have to calculate pnl and date etc at your end.
@RL0520 as from your stack-trace it can be seen that "transaction_type= " parameter is missing.Could you confirm you are passing the value for that parameter.?
you can refer docs here https://kite.trade/docs/pykiteconnect/
@Rishant i guess the way it works is,it creates a 15 minute candle from the data till most recent 1 minute candle
So for example if you call the api at 9:29 for a 15 minute candle you would get a candle thats made up of 14 1 minute candles (9:15 - 9…