hii @Shashankba .
for ticks to candle go through this link:
https://kite.trade/forum/discussion/6230/program-for-converting-tick-data-into-candlestick-data#latest
hii @themohammedfaisal
The problem is solved,
My algo was pushing orders for invalid quantity ... as the code was in try-except block I was not able to see the reason. Thus exceeding order limit.
A big thanks.
You may now close this thread.
somebody suggested I should look at the api logs.
1. how do I access api logs
2. even if 2000_orders will show up on api logs then why 2000_orders is not showing in order book.
Thanks in advance
hii everyone.. this is the end of basic python series. Now we will start learning kiteconnect. More on python will be covered after kiteconnect series.
hii @adk228
Punch orders on behalf of multiple people(having Zerodha accounts). Is this possible through your API?
Yes, that can be done through the api.
2. Is there any other authentication mechanism for getting backend access to a client's accou…
hii @aravindraj004
for modification go through this link: https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.modify_order
for cancellation go through this link: https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.exit_o…
Hii everyone.
I found a good response .. but most of us were having a problem understanding basic python and kiteconnect. So I am starting a new discussion for basic python and kiteconnect.
Hii @kyaboltitu
Only ATP is provided in websocket data. Vwap has to be calculated on users end.
Also historical api gives ohlcv data . vwap and ATP can be calculated through program
hii @ZI4453
yes, the margins can be read by kiteconnect.
have a look to this link : https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.margins
hii @shyam4891
You need to use kite.historical_data instead of kite.historical.
to fetch historical data go through this link : https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.historical_data
hii @dakshhmehta
yes, historical api can give data a live trading session.
But it is advised to use historical data for only backtesting purpose.
for making, candles in live session go through his thread
https://kite.trade/forum/discussion/2604/con…
historical api gives day candles for expired future instruments.
if day candles are required then you can see the continous feature here
https://kite.trade/docs/connect/v3/historical/#continuous-data
hii @kpbcl08
this can be used
ltp = kite.quote(["NSE:INFY"])["NSE:INFY"]['last_price']
kite.place_order(tradingsymbol="INFY",exchange="NSE",quantity=1,transaction_type="BUY",order_type="LIMIT",price=ltp,squareoff=1,stoploss=3, variety='bo',product…
hii @Rohith
Okay. What i understand is, suppose if i buy SBI for 30 rupee and i set stoploss point as 2 then as soon SBI reaches 28 it will exit, is that correct..?
yes that is correct
hii @AutoTrade
your request token is expired in this case.
see the login flow here. https://kite.trade/docs/connect/v3/user/
or go through this explanatory video... https://youtube.com/watch?v=wHLrMyzdgJw&t=10s
for historical API there is a limit of the length of data we can ask for.
for 1 minute we can ask for 1-month data
for 1 year, 1-minute candlestick data I use this logic.
ask data for jan2018 - feb2018 and store in some format
ask data for feb2018 …
hii @ytomar
1. Documentation for historical data: https://kite.trade/docs/connect/v3/historical/
2. we can get continuous data for day candles for last 1 year for expired contacts read below for continuous data feature: https://kite.trade/docs/con…
hii @Jinesh510
go through login flow here: https://kite.trade/docs/connect/v3/user/
or a descriptive video: https://youtube.com/watch?v=wHLrMyzdgJw&t=10s
hii @tsgoud69
go through this thread https://kite.trade/forum/discussion/2183/margin-calculation-for-bracket-and-cover-order#latest
you can add this calculation to program itself.
hii @kiranMaya
there is not a direct api call for gainer and losers...
it can be done as follows.
1. get the quotes for the group you want to find gainer and looser.
2. place them in a data structure and then sort it.
Hii @AutoTrade
Go through this link
https://kite.trade/forum/discussion/5589/kiteconnect-installation-failure-due-to-error-microsoft-visual-c-14-0-is-required#latest
to get minute/ candle wise ... candles have to be generated at our own end
go through this thread.. https://kite.trade/forum/discussion/6098/5min-candle-using-live-stream-data#latest
hii @goradiasagar72
1. if historical ohlc is needed use historical api.
use this code for any timeframe data:
kite.historical_data(token, from_date, to_date, interval)
2. if you want ohlc for today live api can be used.
the tick da…
hii @sivannarayanagunji
Multi-user access is only provided for the product that is built for mass. You can write to rainmatter with the product description.
For more compliance-related queries, please write to talk(at)rainmatter.com
hii @sachinsritech
by zerodha, you can get historical data from a certain date-time to another date-time
if you want
20-July: only 10:15 data
21-July: only 10:15 data
22-July: only 10:15 data...
then it has to be programmed on your side...
try usi…
let's see how to make an algo for pair trading...
system logic reference : https://zerodha.com/varsity/module/trading-systems/
video reference:
the program file is attached below:
hii @goradiasagar72
1.While placing both orders store their order id.
2.keep monitoring if stop-loss has been triggered or not.
2. if it's triggered then cancel the other by canceling its order id.
hii @seshank ..
do read the webscoket usage from documentation.. https://github.com/zerodhatech/pykiteconnect/tree/kite3
or have a look into this video... https://youtube.com/watch?v=LrJBhh1nn1I
hii @sachinsritech
go through these links..
https://kite.trade/docs/pykiteconnect/v3/#kiteconnect.KiteConnect.historical_data
https://kite.trade/docs/connect/v3/historical/
Dear @anupama
there are two tokens
1. request_token which is valid for a couple of minutes.
2. access_token which is valid for 24 hrs till tomorrow at 7:30 am.
to know more about login flow read here: https://kite.trade/docs/connect/v3/user/
or go…
hii @avipatel
I have a playlist for basic python and kiteconnect ..
have a look
https://youtube.com/channel/UCSYMNk-rvYENUwj3ZBggNAw/videos?view_as=subscriber
hii @graviraju
https://kite.trade/forum/discussion/2604/convert-ticks-to-candle#latest
https://kite.trade/forum/discussion/comment/16604/#Comment_16604
https://kite.trade/forum/discussion/comment/17072/#Comment_17072