Remember as per laws, fully automated trading is not allowed, and you need to get some form of User interaction for confirming/taking the actions via API.
But we can place orders automatically, thats as per API design.
Thanks @sujith I think it would be good idea to have them in Kite too, because user will understand whether the order has been placed manually or using algo.
No, I am using pure REST API. While placing an order from python, I am using the above code, I believe given tag "tag1" should be visible when I login to Kite > Orders > Locate respective order > Order info
@kamleshNB Zerodha has different data vendors for live ticks (websocket ticks) and historical data (chart data)
We can see max of 2 ticks in a second using websockets but in exchange, there can be 100 ticks in a second.
Bottom line, if you want to …
@arkochhar Finally I am able to get the output:
SuperTrend Test
Time taken by Pandas computations for SuperTrend 0.12024164199829102
Time taken by manual computations for SuperTrend 0.13067221641540527
ST Stats
Total Rows: 125
Colum…
@arkochhar I dont see pandas version 1.17 at https://pypi.python.org/pypi/pandas/
So with Python3 and Pandas 0.22, I get following error:
Traceback (most recent call last):
File "runScan3.py", line 45, in
df = pd.DataFrame(json_response["da…
@arkochhar for my above code, if I use columns=['Date', 'Open', 'High', 'Low', 'Close', 'Volume']), I am getting following error:
Traceback (most recent call last):
File "runScan.py", line 43, in
df = pd.DataFrame(json_response["data"]["candl…
@arkochhar , thanks, but I am facing following error message:
I am passing following format of historical data:
[
"2018-01-29T09:15:00+0530",
1747.8,
1750.95,
1741.4,
…
@Kailash After adding X-Kite-Version: 3 in headers, it is working.
One last question, what is the lifetime of request_token and access_token? Also what are public_token & refresh_token?
Thanks
@Kailash No since document does not specify to use it for given POST request.
At given link https://kite.trade/docs/connect/v3/user/ under Authentication and token exchange nowhere it is written to mention kite version in header.
@Vivek sending you…
I am following these steps:
1. I get the request token from the redirect URL that I have set:
http://abcd.com/zerodha/redirect.php?status=success&request_token=xxxx
2. I visit following site to calculate SHA-256 checksum (I know the way to do …
@sujith , I am also facing the same problem.
{
"status": "error",
"message": "Gateway is busy",
"error_type": "NetworkException"
}
This is really annoying. I have paid for the API service and things are not working from your ends.
Not …
Yes I am generating candles in Python but when I compare its tick with chart putting python console next to chart, I see different ticks and that is why candle stick data from Kite chart is not matching with python generated output.
Can you please …
Thanks @sujith ,
We want to perform some actions right after formation of hourly candles, what is the maximum amount of delay can occur for forming a hourly candle?
Thanks
@sujith , looking at the forum, I feel kite API is half baked cake and charging a fee for this is not good at all. It's like people are paying for service and not getting it properly. Instead of this, why don't you give it as a free to users and per…
@sameer , I think give them some time to check your support ticket. When did you open this ticket? Also if you are doing algo trading, there is a possibility that your algo has squared off the script. Have you implemented logging at your local datab…
Thanks sujith. One last question, can I get candlestick data of morning after noon while market is open? E.g. at around 2 pm, can I get the candles data that took place the same morning from 9.15?
@sujith , here I am talking about API access to make orders and not historical data.
BTW do I first need to have API access to get access to historical data? The reason why I am asking this because somewhere I read for historical data, user need to…
@Skipper, where your server is located? Its in your office or at any data center? I believe if it is in office, it may give a lag because of Internet connectivity. Very soon I will try to use Kite API from AWS ec2 servers.
@sujith, I'm also waiting for last trade time as this makes easy for data bifurcation.
I believe exchange runs on It but there may be a difference of few seconds between last trade time of my server and exchange/Zerodha.
Again when there is no l…