Hi Rakesh, I changed the transaction_type in order parameters for margin calculation from 'buy' to kite.TRANSACTION_TYPE_BUY and it rectified the error. I guess there must be some recent change because today is the first time it showed this error. Y…
You have to introduce some lag, i.e. make it calculate EMA for some periods before. If you want to calculate 5 min ema I suggest introducing past 3 days 5min candle data and then calculating it for the current day. You can concat the resulting df la…
Hi @rakeshr here is the data I received for today.
There is a difference of 8 points in the opening itself and also variations in the Volume. The other methods I tried also pose an error. How can I rectify the error?
Hi @rakeshr. I have gone through n number of legacy threads and recommendations before creating this thread.
As you've mentioned that this might be caused by heavy logic/computation I ran two other scripts to procure data and create candles. In thi…